//
//  XGExamModel.h
//  XGTableView的用法详解
//
//  Created by 小果 on 16/7/5.
//  Copyright © 2016年 小果. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#define XGRandomColor [UIColor colorWithRed:arc4random_uniform(256)/255.0 green:arc4random_uniform(256)/255.0 blue:arc4random_uniform(256)/255.0 alpha:1.0];
#define XGNameFont [UIFont systemFontOfSize:14]
#define XGContentFont [UIFont systemFontOfSize:16]
@interface XGExamModel : NSObject
/**
 *  标题
 */
@property (nonatomic, copy) NSString *name;
/**
 *  头像
 */
@property (nonatomic, copy) NSString *icon;
/**
 *  正文
 */
@property (nonatomic, copy) NSString *content;
/**
 *  配图
 */
@property (nonatomic, copy) NSString *picture;
/**
 *  会员
 */
@property (nonatomic, assign, getter=isVip) BOOL vip;
/**
 *  底部的工具条
 */
@property (nonatomic, weak) UIView *bottomView;
/**
 *  底部工具条上面的分割线
 */
//@property (nonatomic, weak) UIView *bottomTopView;
/**
 *  cell的分割线
 */
@property (nonatomic, weak) UIView *devier;
// 不用frame模型计算行高
//@property (nonatomic,assign) CGFloat cellHeight;

// 构造方法
-(instancetype)initWithDict:(NSDictionary *)dict;

// 类方法
+(instancetype)examWithDict:(NSDictionary *)dict;

@end
